import json
import  os
print(os.getcwd())
# os.chdir('C:\code\python')
# print(os.getcwd())
os.chdir('..')
print(os.listdir())
dict1= {"name":"张三","age":10,"sex":"男"}
print(json.dumps(dict1))